//@Time:2022/04/25 17:15
//@Author:aFun

package indi.csms_springboot.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
// 用户
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    @TableId(value = "uid",type = IdType.AUTO)
    private Integer uid;
    private String account;
    private String password;
    private int roleId;                 // 标志位，不需要设置为包装类
    private String name;
    private String gender;

}

